package com.aysafety.core.socketdto;

import com.aysafety.core.common.DateUtils;

public class DTO {
    protected String type = "base";
    String clientId = "";
    Object data;
    String createDate = DateUtils.getTime();
    String dataType = "realTime";

    public DTO(String clientId) {
        this.clientId = clientId;
    }

    public String getType() {
        return type;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }
}
